package com.campusexpresspickup.service.impl;

import com.campusexpresspickup.entity.LogisticsOrder;
import com.campusexpresspickup.mapper.LogisticsOrderMapper;
import com.campusexpresspickup.page.LogisticsOrderPage;
import com.campusexpresspickup.service.ILogisticsOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 物流快递员表 服务实现类
 * </p>
 *
 * @author lq
 * @since 2021-11-21
 */
@Service
public class LogisticsOrderServiceImpl extends ServiceImpl<LogisticsOrderMapper, LogisticsOrder> implements ILogisticsOrderService {

  private final LogisticsOrderMapper logisticsOrderMapper;

  public LogisticsOrderServiceImpl(LogisticsOrderMapper logisticsOrderMapper) {
    this.logisticsOrderMapper = logisticsOrderMapper;
  }

  @Override
  public List<LogisticsOrder> getOrderListByPage(LogisticsOrderPage logisticsOrderPage) {
    return logisticsOrderMapper.findOrderList(logisticsOrderPage);
  }
}
